package sqlist;

/**
 * Created with IntelliJ IDEA
 * Description
 * User：chenshu
 * Date：2023-10-27
 * Time：13:54
 */
public class TestDemo {
    public static void main(String[] args) {
        MyArraylist<Integer> myArraylist = new MyArraylist();
        myArraylist.add(1);
        myArraylist.add(2);
        myArraylist.add(3);
        myArraylist.add(4);
        myArraylist.add(5);
        myArraylist.add(3, 6);
        myArraylist.display();
        System.out.println("=====================");
        int value = myArraylist.get(4);
        System.out.println(value);

    }
}
